﻿using Rcompany.Type;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Rcompany.Model
{
    /// <summary>
    /// 销项发票
    /// </summary>
    public class SalesInvoice : AuditedAggregateRoot<Guid>
    {
        public string SalesNo { get; set; }//发票号
        public string SalesOffice { get; set; }//发票名称
        public SalesInvoiceType SalesType { get; set; }//发票类型   
        [Column(TypeName = "decimal(18,2)")]
        public decimal SalesMoney { get; set; }//发票金额
        public int SalesRate { get; set; }//税率
        [Column(TypeName = "decimal(18,2)")]
        public decimal SalesTax { get; set; }//税额
        public DateTime Salestime { get; set; }//开票时间
        public string SalesNote { get; set; }//备注
        public string SalesHandler { get; set; }//制单人
        public DateTime SalesCreatingTime { get; set; }//创造时间
        public string MyProperty { get; set; }//备用  

    }
}
